package com.zwj.liteflow.service;

import com.zwj.liteflow.domain.Result;
import com.zwj.liteflow.domain.params.FlowAParam;
import com.zwj.liteflow.domain.params.LifeParam;
import com.zwj.liteflow.domain.pojo.Body;
import com.zwj.liteflow.domain.result.FlowAResult;
import com.zwj.liteflow.domain.result.LifeResult;

/**
 * @author 摸鱼二长老
 * @version 1.0
 * @Date 2023/3/2 1:40 PM
 */
public interface LiteFlowService {
    /**
     * 我得第一个liteFlow流程
     * @param param
     * @return
     * @throws Exception
     */
    Result<LifeResult> myFirstLiteFlowService(LifeParam param) throws Exception;

    Result<FlowAResult> myFlowAService(FlowAParam param) throws Exception;

    Result<Body> body(Body param);
}
